﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace AbpBuild.LawManage
{
    [Table("LawType")]
    public class LawType : Entity<string>
    {
        public LawType()
        {
            this.Id = Guid.NewGuid().ToString("N");
            childLawType = new List<LawType>();
        }
        public string name { get; set; } //
        public string pid { get; set; } //
        public int levels { get; set; } //
        public long? count { get; set; }  //"10",

        public LawType parentLawType { get; set; }
        public virtual ICollection<LawType> childLawType { get; set; }
    }
}
